package com.qcs.sleep.warn;

import com.qcs.sleep.OnWarnListener;

/**
 * Created by chshqiang on 13-10-17.
 * 示警适配器
 */
public interface WarnAdapter {
    public void onReceive(String action); // 系统级广播

    public void run(); // 定时轮询，周期单位为1秒

    public void setOnWarnListener(OnWarnListener listener);
}
